package com.tarena.lbs.business.servcie;

import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.param.StoreParam;
import com.tarena.lbs.business.pojo.param.UserLocationParam;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Service;

@Service
public interface StoreService {


    PageResult<StoreVO> storeList(StoreQuery query);

    void add(StoreParam param);

    PageResult<StoreVO> getStoreByCity(AreaStoreQuery query);

    void location(StoreVO locationPO);


    int delete(Integer id);

    int updateStatus(Integer id, Integer status);
}
